package com.newasia.management.dal.item.persistence;

import com.newasia.management.dal.item.entitys.ItemSpec;
import com.newasia.management.dal.item.entitys.ItemSpecExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ItemSpecMapper {
    long countByExample(ItemSpecExample example);

    int deleteByExample(ItemSpecExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ItemSpec record);

    int insertSelective(ItemSpec record);

    List<ItemSpec> selectByExample(ItemSpecExample example);

    ItemSpec selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ItemSpec record, @Param("example") ItemSpecExample example);

    int updateByExample(@Param("record") ItemSpec record, @Param("example") ItemSpecExample example);

    int updateByPrimaryKeySelective(ItemSpec record);

    int updateByPrimaryKey(ItemSpec record);
}